<%-- 
    Document   : 001
    Created on : 14-jul-2012, 19:57:15
    Author     : froy
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="/empleados/recursos/js/jquery-1.7.2.min.js" type="text/javascript"></script>
        <title>JSP Page</title>
        <script type="text/javascript">
            $(document).ready(function (){
                $("#ocultar").click(function(event){
                    event.preventDefault(); //a href no se ejecute
                    $("#div_efectos").hide("slow");
                });
                $("#mostrar").click(function(event){
                    event.preventDefault();
                    $("#div_efectos").show(2000);
                    $("#div_efectos").fadeOut(2000);
                    $("#div_efectos").fadeIn(2000);
                });
            });
        </script>
    </head>
    <body>
        <div id="div_efectos">
            acsadasaDF
        </div>
        <a href="#" id="mostrar">mostrar div</a>
        <a href="#" id="ocultar">ocultar div</a>
        <h1>Hello World!</h1>
    </body>
</html>
